//
//  OffsiteContext.h
//  MySpaceID
//
//  Created by Haider Sabri on 6/5/09.
//  Copyright 2009 MySpace, Inc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SecurityContext.h"
#import "OAMutableURLRequest.h"

@interface OffsiteContext : SecurityContext {
	OAMutableURLRequest *request;
	OAConsumer *consumer;
}

//@property (nonatomic, retain) OAMutableURLRequest *request;
//@property (nonatomic, retain) OAConsumer *consumer;

+ (OffsiteContext*) contextWithConsumerKey:(NSString*) consumerKey
						  consumerSecret:(NSString*) consumerSecret
						  tokenKey:(NSString*) oauthKey
						  tokenSecret: (NSString*) oauthSecret;
- (void) getRequestToken;
- (void) getAccessToken;
- (void) logOut;
- (BOOL) isLoggedIn;
@end


